import request from '@/utils/request'
import { transformQueryCondition } from '@/utils'
// import qs from 'qs'

// 检索
export function selectNotSyncUsers(query) {
  const searchCon = transformQueryCondition(query)
  return request({
    url: '/uums/SysUserInfo/getNotSyncUsers',
    method: 'POST',
    data: searchCon
  })
}

export function syncUser(param) {
  //  const searchCon = transformQueryCondition(query)
  return request({
    url: '/uums/SysUserInfo/syncUser',
    method: 'POST',
    data: param
  })
}

export function syncSelectedUsers(param) {
  //  const searchCon = transformQueryCondition(query)
  return request({
    url: '/uums/SysUserInfo/syncSelectedUsers',
    method: 'POST',
    data: param
  })
}
